/* eslint-disable indent */
import Layout from '@/layout'

// 员工管理
export default {
    path: '/employees',
    component: Layout,
    children: [{
                path: '',
                name: 'employees', // 后续权限会根据name过滤
                component: () =>
                    import ('@/views/employees'), // 懒加载
                meta: { title: '员工管理', icon: 'people' }
            },
            {
                path: '/employees/detail/:id',
                component: () =>
                    import ('@/views/employees/detail'),
                hidden: true, // 不在左侧菜单显示
                meta: {
                    title: '员工详情'
                }
            }
        ]
        // eslint-disable-next-line eol-last
}